home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / 116_01.zip / ENVIRON.DOC < prev    next >
Text File  |  1993-06-19  |  3KB  |  58 lines

  1. Notes on Adventure Environment
  2. written April 26, 1981
  3.  
  4.     This disk was written and and compiled under version 1.3x and 
  5. will NOT compile under version 1.4 and later without changes to the 
  6. source.  Specifically dbuff in advent.h on or about line 134 must be 
  7. declared so that it is compatible with the 1.4 file i/o.  The com files
  8. on the disk will require at least a 46k system to execute, but 
  9. recompiling under 1.4 will add about 1k to the memory requirements 
  10. (except that 1.4 produces tighter code). 
  11.     The com files provided were debugged on a system including 
  12. a 48k Altair equipped with 2 Micropolis drives, and a Processor
  13. Technology VDM.
  14.     To begin play, type advent. To resume a saved game type 
  15. "advent -r".
  16.  
  17. Added notes on making this ADVENTURE work in BDS-C Version 1.43
  18. Environment  written 17 May 1981 by L. C. Calhoun.
  19.  
  20.     At Robert Ward's request, I brought this program up on
  21. the 1.43 compiler.  Only one change was required..to add the
  22. small section on buffering from BDSCIO.H to ADVENT.H, and to
  23. change dbuff[134] in ADVENT.H to dbuff[BUFSIZ].  I did review
  24. the other program files for potential changes, and added a
  25. title and note to the head of each for the record.  The compile
  26. and link control syntaxes differ between V 1.4 and older versions.
  27. I made the appropriate changes, and created two submit files;
  28. ADVCOMP.SUB and ADVLINK.SUB.  These must (of course) run on
  29. disk a:, but they are set up for all the c utilities to be on
  30. disk a: and the actual c programs with their .CRL files to be
  31. on b:.  Just PIP these two sub files over to the a: disk where
  32. CC1, CC2, C.CCC, CLINK, DEFF*  etc. hang out.  Only one file
  33. needs to be read two times during linkage - TURN.CRL while
  34. EADVENT.COM is being linked.  Otherwise, it went smoothly
  35. in conversion.
  36.  
  37.     Mr. Jaeger (me too, I must admit) was worried that
  38. the greater buffer size used in the standard V 1.43 library
  39. would have a bad effect on the program length.  I compiled
  40. without the -o option for optimization.  Lo and behold,
  41. the program appears to be considerably shorter.  I was able
  42. to external set the data (-e6A00) much lower than in the
  43. submit files supplied.  I could have even gone lower.
  44. I compiled a second time with the e option in CC1 to -e6A00,
  45. see ADVCOMP.SUB.  Dog gone if the code didn't end at 5EC8.
  46. However, the variables end at 7CA1 even with the -e6A00,
  47. so I didn't bother.  
  48.  
  49.     The re-compiles were done on an ALTAIR 8800B, with
  50. a 60K CPM 2.2 system, ADM-3A display, and TARBEL single side
  51. single density controlling four Shugart 801R's.  I checked
  52. the elboeroom callouts during compile, and the least amount
  53. of elboeroom was 20K whilst compiling TURN.C.  So, it appears
  54. that the re-compiled version will compile and run on
  55. a 40K system with about 4K of stack space.  You can pick
  56. up another 2K of stack space by editing the ADVCOMP.SUB file
  57. for the option -e6000 if it's worthwhile.  Thank you Mr. Zolman.
  58.